using System;
using System.Collections.Generic;
using System.Text;

namespace SQLitenSupport.Data
{

    /// <summary>
    /// 
    /// </summary>
    public class SQLException : Exception
    {

        #region Constants & Variables

        // Backing variable for ExceptionStatus property
        private SQLStatus _ExceptionStatus;

        #endregion

        #region Properties

        /// <summary>
        /// 
        /// </summary>
        public SQLStatus ExceptionStatus
        {

            get { return _ExceptionStatus; }
            set { _ExceptionStatus = value; }

        }

        #endregion

        #region Constructor(s)

        /// <summary>
        /// 
        /// </summary>
        public SQLException()
            : base()
        { }

        /// <summary>
        /// 
        /// </summary>
        /// <param name="exceptionStatus"></param>
        public SQLException( SQLStatus exceptionStatus )
            : base()
        {

            this.ExceptionStatus = exceptionStatus;
        
        }

        /// <summary>
        /// 
        /// </summary>
        /// <param name="message"></param>
        public SQLException( string message )
            : base( message )
        { }
        
        #endregion

    } // class

} // namespace
